home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / Direct3D / DXTex / dialogs.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  4KB  |  163 lines

  1. // Dialogs.h : header file
  2. //
  3. #if !defined(AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_)
  4. #define AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_
  5.  
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CNewTextureDlg dialog
  12.  
  13. class CNewTextureDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17.     CNewTextureDlg(CWnd* pParent = NULL);   // standard constructor
  18.  
  19. // Dialog Data
  20.     //{{AFX_DATA(CNewTextureDlg)
  21.     enum { IDD = IDD_NEWTEXTURE };
  22.     int     m_iTexType;
  23.     int     m_dwWidth;
  24.     int     m_dwHeight;
  25.     int     m_dwDepth;
  26.     int     m_iFmt;
  27.     CString m_strFmtDesc;
  28.     int     m_numMips;
  29.     D3DFORMAT m_fmt;
  30.     //}}AFX_DATA
  31.  
  32.  
  33. // Overrides
  34.     // ClassWizard generated virtual function overrides
  35.     //{{AFX_VIRTUAL(CNewTextureDlg)
  36.     protected:
  37.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  38.     //}}AFX_VIRTUAL
  39.  
  40. // Implementation
  41. protected:
  42.  
  43.     // Generated message map functions
  44.     //{{AFX_MSG(CNewTextureDlg)
  45.     virtual BOOL OnInitDialog();
  46.     afx_msg void OnChangeTextureType();
  47.     afx_msg void OnChangeFormat();
  48.     virtual void OnOK();
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55. // CCubeMapDlg dialog
  56.  
  57. class CCubeMapDlg : public CDialog
  58. {
  59. // Construction
  60. public:
  61.     CCubeMapDlg(CWnd* pParent = NULL);   // standard constructor
  62.  
  63. // Dialog Data
  64.     //{{AFX_DATA(CCubeMapDlg)
  65.     enum { IDD = IDD_CUBEMAP };
  66.     INT     m_iFace;
  67.     //}}AFX_DATA
  68.  
  69. // Overrides
  70.     // ClassWizard generated virtual function overrides
  71.     //{{AFX_VIRTUAL(CCubeMapDlg)
  72.     protected:
  73.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  74.     //}}AFX_VIRTUAL
  75.  
  76. // Implementation
  77. protected:
  78.  
  79.     // Generated message map functions
  80.     //{{AFX_MSG(CCubeMapDlg)
  81.         // NOTE: the ClassWizard will add member functions here
  82.     //}}AFX_MSG
  83.     DECLARE_MESSAGE_MAP()
  84. };
  85.  
  86.  
  87. /////////////////////////////////////////////////////////////////////////////
  88. // CVolumeMapDlg dialog
  89.  
  90. class CVolumeMapDlg : public CDialog
  91. {
  92. // Construction
  93. public:
  94.     CVolumeMapDlg(CWnd* pParent = NULL);   // standard constructor
  95.  
  96. // Dialog Data
  97.     //{{AFX_DATA(CVolumeMapDlg)
  98.     enum { IDD = IDD_VOLUMEMAP };
  99.     int     m_powLayers;
  100.     //}}AFX_DATA
  101.  
  102.  
  103. // Overrides
  104.     // ClassWizard generated virtual function overrides
  105.     //{{AFX_VIRTUAL(CVolumeMapDlg)
  106.     protected:
  107.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  108.     //}}AFX_VIRTUAL
  109.  
  110. // Implementation
  111. protected:
  112.  
  113.     // Generated message map functions
  114.     //{{AFX_MSG(CVolumeMapDlg)
  115.         // NOTE: the ClassWizard will add member functions here
  116.     //}}AFX_MSG
  117.     DECLARE_MESSAGE_MAP()
  118. };
  119.  
  120.  
  121. /////////////////////////////////////////////////////////////////////////////
  122. // CChangeFmtDlg dialog
  123.  
  124. class CChangeFmtDlg : public CDialog
  125. {
  126. // Construction
  127. public:
  128.     CChangeFmtDlg(CWnd* pParent = NULL);   // standard constructor
  129.  
  130. // Dialog Data
  131.     //{{AFX_DATA(CChangeFmtDlg)
  132.     enum { IDD = IDD_CHANGEFORMAT };
  133.     int     m_iFmt;
  134.     CString m_strFmtDesc;
  135.     //}}AFX_DATA
  136.     BOOL m_bVolume;
  137.     D3DFORMAT m_fmt;
  138.  
  139. // Overrides
  140.     // ClassWizard generated virtual function overrides
  141.     //{{AFX_VIRTUAL(CChangeFmtDlg)
  142.     protected:
  143.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  144.     //}}AFX_VIRTUAL
  145.  
  146. // Implementation
  147. protected:
  148.  
  149.     // Generated message map functions
  150.     //{{AFX_MSG(CChangeFmtDlg)
  151.     virtual BOOL OnInitDialog();
  152.     afx_msg void OnChangeFmt();
  153.     //}}AFX_MSG
  154.     DECLARE_MESSAGE_MAP()
  155. private:
  156.     void UpdateFmtDesc();
  157. };
  158.  
  159. //{{AFX_INSERT_LOCATION}}
  160. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  161.  
  162. #endif // !defined(AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_)
  163.